/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: ChatRoom.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/22 下午6:37
 * LastModified: 2020/03/22 18:37:22
 */

package com.qolome.knowledge.design.pattern.mediator.chatroom;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Qolome
 * @version V1.0
 * @Description 聊天室
 * @date 2020年 03月22日 18:37:10
 */
@Slf4j
public class ChatRoom {


 public void showMsg(User user,String msg){

     log.info("{}:{}",user.getName(),msg);

 }



}
